Optimal. Leaf size=123 \[ -\frac {a^{10}}{x}-\frac {20 a^9 b}{\sqrt {x}}+45 a^8 b^2 \log (x)+240 a^7 b^3 \sqrt {x}+210 a^6 b^4 x+168 a^5 b^5 x^{3/2}+105 a^4 b^6 x^2+48 a^3 b^7 x^{5/2}+15 a^2 b^8 x^3+\frac {20}{7} a b^9 x^{7/2}+\frac {b^{10} x^4}{4} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.07, antiderivative size = 123, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.133, Rules used = {266, 43} \[ 168 a^5 b^5 x^{3/2}+105 a^4 b^6 x^2+48 a^3 b^7 x^{5/2}+15 a^2 b^8 x^3+240 a^7 b^3 \sqrt {x}+210 a^6 b^4 x+45 a^8 b^2 \log (x)-\frac {20 a^9 b}{\sqrt {x}}-\frac {a^{10}}{x}+\frac {20}{7} a b^9 x^{7/2}+\frac {b^{10} x^4}{4} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 43
Rule 266
Rubi steps
\begin {align*} \int \frac {\left (a+b \sqrt {x}\right )^{10}}{x^2} \, dx &=2 \operatorname {Subst}\left (\int \frac {(a+b x)^{10}}{x^3} \, dx,x,\sqrt {x}\right )\\ &=2 \operatorname {Subst}\left (\int \left (120 a^7 b^3+\frac {a^{10}}{x^3}+\frac {10 a^9 b}{x^2}+\frac {45 a^8 b^2}{x}+210 a^6 b^4 x+252 a^5 b^5 x^2+210 a^4 b^6 x^3+120 a^3 b^7 x^4+45 a^2 b^8 x^5+10 a b^9 x^6+b^{10} x^7\right ) \, dx,x,\sqrt {x}\right )\\ &=-\frac {a^{10}}{x}-\frac {20 a^9 b}{\sqrt {x}}+240 a^7 b^3 \sqrt {x}+210 a^6 b^4 x+168 a^5 b^5 x^{3/2}+105 a^4 b^6 x^2+48 a^3 b^7 x^{5/2}+15 a^2 b^8 x^3+\frac {20}{7} a b^9 x^{7/2}+\frac {b^{10} x^4}{4}+45 a^8 b^2 \log (x)\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.06, size = 123, normalized size = 1.00 \[ -\frac {a^{10}}{x}-\frac {20 a^9 b}{\sqrt {x}}+45 a^8 b^2 \log (x)+240 a^7 b^3 \sqrt {x}+210 a^6 b^4 x+168 a^5 b^5 x^{3/2}+105 a^4 b^6 x^2+48 a^3 b^7 x^{5/2}+15 a^2 b^8 x^3+\frac {20}{7} a b^9 x^{7/2}+\frac {b^{10} x^4}{4} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.63, size = 117, normalized size = 0.95 \[ \frac {7 \, b^{10} x^{5} + 420 \, a^{2} b^{8} x^{4} + 2940 \, a^{4} b^{6} x^{3} + 5880 \, a^{6} b^{4} x^{2} + 2520 \, a^{8} b^{2} x \log \left (\sqrt {x}\right ) - 28 \, a^{10} + 16 \, {\left (5 \, a b^{9} x^{4} + 84 \, a^{3} b^{7} x^{3} + 294 \, a^{5} b^{5} x^{2} + 420 \, a^{7} b^{3} x - 35 \, a^{9} b\right )} \sqrt {x}}{28 \, x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.17, size = 111, normalized size = 0.90 \[ \frac {1}{4} \, b^{10} x^{4} + \frac {20}{7} \, a b^{9} x^{\frac {7}{2}} + 15 \, a^{2} b^{8} x^{3} + 48 \, a^{3} b^{7} x^{\frac {5}{2}} + 105 \, a^{4} b^{6} x^{2} + 168 \, a^{5} b^{5} x^{\frac {3}{2}} + 210 \, a^{6} b^{4} x + 45 \, a^{8} b^{2} \log \left ({\left | x \right |}\right ) + 240 \, a^{7} b^{3} \sqrt {x} - \frac {20 \, a^{9} b \sqrt {x} + a^{10}}{x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.00, size = 110, normalized size = 0.89 \[ \frac {b^{10} x^{4}}{4}+\frac {20 a \,b^{9} x^{\frac {7}{2}}}{7}+15 a^{2} b^{8} x^{3}+48 a^{3} b^{7} x^{\frac {5}{2}}+105 a^{4} b^{6} x^{2}+168 a^{5} b^{5} x^{\frac {3}{2}}+45 a^{8} b^{2} \ln \relax (x )+210 a^{6} b^{4} x +240 a^{7} b^{3} \sqrt {x}-\frac {20 a^{9} b}{\sqrt {x}}-\frac {a^{10}}{x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.81, size = 110, normalized size = 0.89 \[ \frac {1}{4} \, b^{10} x^{4} + \frac {20}{7} \, a b^{9} x^{\frac {7}{2}} + 15 \, a^{2} b^{8} x^{3} + 48 \, a^{3} b^{7} x^{\frac {5}{2}} + 105 \, a^{4} b^{6} x^{2} + 168 \, a^{5} b^{5} x^{\frac {3}{2}} + 210 \, a^{6} b^{4} x + 45 \, a^{8} b^{2} \log \relax (x) + 240 \, a^{7} b^{3} \sqrt {x} - \frac {20 \, a^{9} b \sqrt {x} + a^{10}}{x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.06, size = 112, normalized size = 0.91 \[ \frac {b^{10}\,x^4}{4}-\frac {a^{10}+20\,a^9\,b\,\sqrt {x}}{x}+90\,a^8\,b^2\,\ln \left (\sqrt {x}\right )+210\,a^6\,b^4\,x+\frac {20\,a\,b^9\,x^{7/2}}{7}+105\,a^4\,b^6\,x^2+15\,a^2\,b^8\,x^3+240\,a^7\,b^3\,\sqrt {x}+168\,a^5\,b^5\,x^{3/2}+48\,a^3\,b^7\,x^{5/2} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 2.18, size = 124, normalized size = 1.01 \[ - \frac {a^{10}}{x} - \frac {20 a^{9} b}{\sqrt {x}} + 45 a^{8} b^{2} \log {\relax (x )} + 240 a^{7} b^{3} \sqrt {x} + 210 a^{6} b^{4} x + 168 a^{5} b^{5} x^{\frac {3}{2}} + 105 a^{4} b^{6} x^{2} + 48 a^{3} b^{7} x^{\frac {5}{2}} + 15 a^{2} b^{8} x^{3} + \frac {20 a b^{9} x^{\frac {7}{2}}}{7} + \frac {b^{10} x^{4}}{4} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________